package com.deram.ctin.serv.main;

import com.deram.ctin.dependencies.serv.config.ServConfig;
import com.deram.ctin.serv.main.config.FreeMarkerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * Created by xhw on 2017/09/29.
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients({
        "com.deram.ctin.serv.enter",
        "com.deram.ctin.serv.business",
        "com.deram.ctin.serv.third"
})
@Import({ServConfig.class, FreeMarkerConfig.class})
public class Application {

    public static void main(String[] args){
        SpringApplication.run(Application.class,args);
    }
}
